package Text3;

/*
 *@Student 张策
 */
public class Main {
    public static void main(String[] args) {
        C<A> a1 = new C<>(new A());
        C<A> a2 = new C<>(new B());
        
    }
}
class A{

}
class B extends A{}
class C<E>{
    E e;

    public C(E e) {
        this.e = e;
    }
}